package com.spring;

import com.spring.framework.annotation.ComponentScan;
import com.spring.framework.context.ApplicationContext;

import java.util.Scanner;

/**
 * @author xiaohei
 * @date 2021/12/1 16:12
 */
@ComponentScan(value = "com.spring")
public class SpringApplication {

    public static void main(String[] args) {
        ApplicationContext context = new ApplicationContext(SpringApplication.class);
        context.run();
        Scanner sc = new Scanner(System.in);
        sc.next();
    }
}
